package com.zy.pro.order.service;

import java.util.List;

import com.zy.core.service.BaseService;
import com.zy.pro.order.model.OrderMoney;

public interface OrderMoneyService extends BaseService<OrderMoney> {
	
	/**
	 * 根据订单主键查询 订单的相关付款记录
	 * @param orderId
	 * @return
	 */
	List<OrderMoney> selectMoneyByOrderId(String orderId);
	
	/**
	 * 根据订单主键查询 订单的最新一条付款记录
	 * @param orderId
	 * @return
	 */
	OrderMoney selectNewMoneyByOrderId(String orderId);
}
